Skip to content

Feature/revolut#20

Merged
oguzhanbukcuoglu merged 7 commits intomainfrom
feature/revolut
Sep 1, 2025
Merged

Feature/revolut#20
oguzhanbukcuoglu merged 7 commits intomainfrom
feature/revolut

Conversation

@ramazanayyildiz
Copy link
Copy Markdown
Collaborator

Checklist

  • I have read the CONTRIBUTING document.
  • My code follows the code style of this project.
  • My change requires a change to the documentation.
  • I have updated the documentation accordingly.
  • I have added tests to cover my changes.
  • All new and existing tests passed.

Types of changes

  • feat: A new feature
  • fix: A bug fix
  • docs: Documentation only changes
  • style: Changes that do not affect the meaning of the code (white-space, formatting, etc)
  • refactor: A code change that neither fixes a bug nor adds a feature
  • perf: A code change that improves performance
  • test: Adding missing tests or correcting existing tests
  • build: Changes that affect the build system or external dependencies
  • ci: Changes to our CI configuration files and scripts
  • chore: Other changes that don't modify src or test files
  • revert: Reverts a previous commit

Description

Related Issue

ramazanayyildiz and others added 7 commits August 25, 2025 22:57
- Add revolut config to payable.php
- Implement RevolutService with widget flow support
- Update PaymentTestController with revolut test method
Add comprehensive documentation for implementing Revolut payments including backend controller, Vue component, Blade template, and JavaScript setup. The guide covers installation, configuration, and usage examples for both frontend and backend implementations.
- Improved exception handling in URequest class to return structured error responses for specific HTTP status codes (422, 400, 404).
- Added additional logging for debugging purposes.
- Introduced ShouldEmbedForm interface to define methods for handling built-in form attributes, validating checkout payloads, and hydrating checkout payloads.
- This interface aims to standardize the implementation of payment forms across different payment gateways.
- Added a static property to indicate if the service has a built-in form.
- Introduced a method to check for built-in form support and contract implementation.
- Enhanced the checkout method to validate and process payloads when a built-in form is available.
- Implemented a new checkout method in the Payable class to validate and process payment payloads.
- The method merges the payload schema, removes exceptional entries, and creates a payment record before proceeding with the checkout process.
…and order management

- Implemented ShouldEmbedForm interface in RevolutService to support built-in form attributes.
- Added methods for validating and hydrating checkout payloads.
- Refactored order creation and retrieval methods for better clarity and functionality.
- Improved error handling in cancel and refund methods, ensuring proper response structure.
- Updated createWidgetOrder method to streamline order processing and response generation.
@oguzhanbukcuoglu oguzhanbukcuoglu merged commit bbe34f1 into main Sep 1, 2025
1 of 5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants